﻿using System;
using System.Collections;
using System.Collections.Generic;
using DBA.Common;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    TeacherYearConfigure
    ///开发者      :    
    ///建立时间    :    2012/9/10 16:21:25
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012/9/10 16:21:25
    /// </summary>
        [OrmPropertyAttribute(TableName = "TeacherYearConfigure",PrimaryKey = "TycID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class TeacherYearConfigure
    {
        #region 构造函数
        public TeacherYearConfigure(){}
        
        public TeacherYearConfigure(int TycID,int EmployeeID,int WorkConfigure,decimal RequireWorkRate,string GradeExcellentTeacher,string Year)
        {
           this._TycID = TycID;
           this._EmployeeID = EmployeeID;
           this._WorkConfigure = WorkConfigure;
           this._RequireWorkRate = RequireWorkRate;
           this._GradeExcellentTeacher = GradeExcellentTeacher;
           this._Year = Year;

        }
        #endregion
        
        #region 成员
        private int _TycID;
        private int _EmployeeID;
        private int _WorkConfigure;
        private decimal _RequireWorkRate;
        private string _GradeExcellentTeacher;
        private string _Year;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int TycID
        {
            get { return _TycID; }
            set { _TycID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int EmployeeID
        {
            get { return _EmployeeID; }
            set { _EmployeeID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int WorkConfigure
        {
            get { return _WorkConfigure; }
            set { _WorkConfigure = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "decimal",ParameterLength = 12,IsNull = "1")]
        public virtual decimal RequireWorkRate
        {
            get { return _RequireWorkRate; }
            set { _RequireWorkRate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 300,IsNull = "1")]
        public virtual string GradeExcellentTeacher
        {
            get { return _GradeExcellentTeacher; }
            set { _GradeExcellentTeacher = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 10,IsNull = "1")]
        public virtual string Year
        {
            get { return _Year; }
            set { _Year = value; }
        }
        #endregion
    }
}